//
//  YYSingleton.m
//  YYPaas
//
//  Created by 余意 on 2018/7/2.
//  Copyright © 2018年 余意. All rights reserved.
//

#import "YYSingleton.h"

@implementation YYSingleton

static YYSingleton * _instance = nil;

+ (instancetype)shareInstance
{
    static dispatch_once_t onceToken ;
    dispatch_once(&onceToken, ^{
        _instance = [[self alloc]init];
    });
    return _instance;
}


@end
